package com.jindy.module.oaProbationApproval.service;

import java.util.List;
import com.jindy.module.oaProbationApproval.domain.SyOaProbation;
import com.jindy.module.oaReceiveApproval.domain.SyOaReceive;

/**
 * 转正审批Service接口
 * 
 * @author jindy
 * @date 2023-06-15
 */
public interface ISyOaProbationService 
{
    /**
     * 查询转正审批
     * 
     * @param id 转正审批主键
     * @return 转正审批
     */
    public SyOaProbation selectSyOaProbationById(Long id);

    /**
     * 查询转正审批列表
     * 
     * @param syOaProbation 转正审批
     * @return 转正审批集合
     */
    public List<SyOaProbation> selectSyOaProbationList(SyOaProbation syOaProbation);

    /**
     * 新增转正审批
     * 
     * @param syOaProbation 转正审批
     * @return 结果
     */
    public int insertSyOaProbation(SyOaProbation syOaProbation);

    /**
     * 修改转正审批
     * 
     * @param syOaProbation 转正审批
     * @return 结果
     */
    public int updateSyOaProbation(SyOaProbation syOaProbation);

    /**
     * 批量删除转正审批
     * 
     * @param ids 需要删除的转正审批主键集合
     * @return 结果
     */
    public int deleteSyOaProbationByIds(Long[] ids);

    /**
     * 删除转正审批信息
     * 
     * @param id 转正审批主键
     * @return 结果
     */
    public int deleteSyOaProbationById(Long id);

    /**
     * 提交申请
     * @param syOaProbation
     */
    void submitApply(SyOaProbation syOaProbation) throws Exception;
}
